package com.ruofeng.app.kotlin.common.dsl.`fun`

/**
 * Created by 邱鹏 on 2017/8/26.
 */
class Person(val name: String){
    infix fun 说(word: String){
        println("\"$name 说 $word\"")
    }
}

fun main(args: Array<String>) {
    val a = Person("老张")
    a 说 "小伙砸,你咋又调皮捏!"
}